﻿package mortal.game.scene3D.map3D.AstarAnyDirection.data
{

    public class AstarIIPoint extends Object
    {
        public var col:int;
        public var row:int;
        public var endCol:int;
        public var endRow:int;
        public var version:int;
        public var links:Array;
        public var linkTM:int;
        public var parent:AstarIIPoint;
        public var inX:Number = 0;
        public var inY:Number = 0;
        public var f:Number = 0;
        public var g:Number = 0;
        public var h:Number = 0;
        public var isJump:Boolean = false;

        public function AstarIIPoint(param1:int, param2:int, param3:int, param4:int)
        {
            this.row = param1;
            this.col = param2;
            this.endRow = param3;
            this.endCol = param4;
            return;
        }// end function

        public function reset() : void
        {
            var _loc_2:String = this;
            with (this)
            {
                parent = null;
                linkTM = -1;
            }
            return;
        }// end function

        public function toString() : String
        {
            return this.row.toString() + ", " + this.col.toString() + ", " + this.endRow.toString() + ", " + this.endCol.toString() + ", " + this.isJump.toString();
        }// end function

    }
}
